@extends('home.layout.index')
@section('header')

<div class='nav-ul-view'>
  <ul class='menu g'>

    <li class='gi'>
        <a class='m-item' href='/home'>
        <span>首页</span>
      </a>
    </li>
    <li class='gio
        '>
      <a class='m-item' href='/home/chanpin'>
        <span>产品</span>
      </a>
    </li>
                                <li class='gi is-active'>
      <a class='m-item' id='storeLink' href='/home/shop' data-hd-url='http://hd.oppo.com/act/2016/1001/index.html'>
        <span>商城</span>
              </a>
          </li>
    <li class='gi
        '>
      <a class='m-item' href='/home/notice'>
        <span>公告</span>
      </a>
    </li>
    <li class='gi'>
     </li>
    <a href="/home/shopcar">
        <span class="icon icon-cart"></span>
    <span class="n-item-cart cart_number" id="shopping-count">0</span>
  </a>
   
  </ul>
  </div>

@endsection
@section('content')

</header>
      <main class='main-content slab-white'>
        
    <div><a href="/home/wupin?id={{$photo['id']}}"><img src="/upload/photo/{{$photo['pic']}}" alt=""></a></div>
    <section class='brick-m'>
      <div class='wrapper'>
                <div class='grid-special equalize top-bar'>
          @foreach($data as $k=>$v)        
          <div class='box ' style="float:left;">
          
  <a target='_blank' href='/home/wupin?id={{$v['id']}}' title="">

          <div class='box-photo'>
                  <img alt='' title="{{$v['title']}}" src='/upload/{{$v['gpic']}}' >
              </div>
            
        <h2 class='box-heading'>
              <a target='_blank' href='/home/wupin?id={{$v['id']}}' title="{{$v['title']}}">{{$v['name']}} </a>
          </h2>

    <div class='box-details'>
                                                <p class='box-price'>
          <span class='normal'>&nbsp;</span>
          <strong>{{$v['price']}}</strong>
        </p>
                      </div>
        <i class="ribbon    ribbon-cheap "></i>
            <!-- 折扣、促销标签
    <div class='box-features'></div> -->
      <i class="ribbon    ribbon-cheap "></i>                 
  </a>
</div>
@endforeach 
        
          </div>
      </div>
 
      </main>
@endsection
        